img {
    max-width: 100%;
    display: block;
    margin: auto;
}

table {
    width: 100%;
}

table,
th,
td {
    padding: 5px;
}

body {
    margin: auto;
    padding: 20px;
    background: #fefefe;
    font-family: PingFang SC, Lantinghei SC, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans;
    color: #333;
    font-size: 12px;
}

header,
nav,
article,
footer {
    width: 700px;
    margin: 0 auto;
}

article {
    margin-top: 4em;
    margin-bottom: 4em;
    min-height: 400px;
}

footer {
    margin-bottom: 50px;
}

video {
    margin: 2em 0;
    border: 1px solid #ddd;
}

nav {
    font-size: .9em;
    font-style: italic;
    border-bottom: 1px solid #ddd;
    padding: 1em 0;
}

nav p {
    margin: 0;
}


/* Typography
-------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 1.5em 0 1em 0;
    line-height: 1.6;
    font-weight: normal;
    color: #000;
}

h1 {
    font-size: 1.8em;
    border-bottom: 1px solid #d1d1d1;
}

h2 {
    font-size: 1.5em;
    border-bottom: 1px dotted #d1d1d1;
}

h3 {
    font-size: 1.4em;
    border-bottom: 1px dotted #d1d1d1;
}

h4 {
    font-size: 1.3em;
}

h5 {
    font-size: 1.2em;
}

h6 {
    font-size: 1.1em;
}

p {
    margin-top: 0;
    line-height: 1.8em;
}

ul {
    list-style: disc;
    padding-left: 1em;
}

ol {
    list-style: decimal;
    padding-left: 1em;
}

ul li,
ol li {
    margin-bottom: 0.4em;
    margin-left: 0em;
    padding-left: 0;
}

li ul {
    list-style: circle;
}

blockquote {
    margin-left: 1em;
    padding-left: 1em;
    border-left: 1px solid #ddd;
}

code {
    font-size: 90%;
    padding: .2em .4em;
    font-family: Consolas, Menlo, Monaco, Courier New, "PingFang SC", monospace;
    background-color: rgba(27, 31, 35, .05);
    border-radius: 6px;
}

pre code {
    padding: 0;
    line-height: 1.8em;
}

a {
    color: #2484c1;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a img {
    border: none;
}

h1 a,
h1 a:hover {
    color: #333;
    text-decoration: none;
}

hr {
    color: #ddd;
    height: 1px;
    margin: 2em 0;
    border-top: solid 1px #ddd;
    border-bottom: none;
    border-left: 0;
    border-right: 0;
}

.red {
    color: #B50000;
}